projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73e7994
)
gdkevents: Free motion events discarded by motion compression
author
Carlos Garnacho
<carlosg@gnome.org>
Sun, 1 May 2016 18:05:56 +0000
(20:05 +0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Sun, 1 May 2016 18:05:56 +0000
(20:05 +0200)
Those should be freed together with their list link.
gdk/gdkevents.c
patch
|
blob
|
history
diff --git
a/gdk/gdkevents.c
b/gdk/gdkevents.c
index 44d5013b96c84783e1c243c58514ce01bef059e7..9f31e27f5b4fe7a84b2d9ceb519e69ec7d1f9eca 100644
(file)
--- a/
gdk/gdkevents.c
+++ b/
gdk/gdkevents.c
@@
-295,6
+295,7
@@
_gdk_event_queue_handle_motion_compression (GdkDisplay *display)
while (pending_motions && pending_motions->next != NULL)
{
GList *next = pending_motions->next;
+ gdk_event_free (pending_motions->data);
display->queued_events = g_list_delete_link (display->queued_events,
pending_motions);
pending_motions = next;